package com.cwj.kotlin

import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test

/**
 * @author wujie.chen
 * 2023/1/29 16:09
 */
internal class DemoTest {
    @Test
    fun test(){
        val expected = 42
        assertEquals(expected, Math.incrementExact(41))
        val listOf = listOf("a", "b", "c")
        val last = listOf.last()
        assertEquals("C", last.uppercase())
    }
}